use serde::{Deserialize, Serialize};

#[derive(Deserialize)]
pub struct LoginForm {
    pub username: String,
    pub password: String,
}

#[derive(Serialize)]
pub struct UserInfo {
    pub roles: [&'static str; 1],
}

#[derive(Serialize)]
pub struct Token {
    pub token: String,
}
